 //
//  NetWorkTool.m
//  555彩票
//
//  Created by zhoubo on 2017/7/4.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import "NetWorkTool.h"

@implementation NetWorkTool

+(instancetype)sharedNetworkTool
{
    static NetWorkTool *instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        
        // baseurl
        instance = [[self alloc]init];
        instance.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"application/json",@"text/json",@"text/javascript",@"text/html",nil];
    });
    return instance;
    
    
}

@end
